<template>
  <div class="row justify-between q-my-sm">
    <div>
      <q-btn
        v-if="type === 'maps' && this.$q.screen.gt.sm"
        color="negative"
        label="新建"
        @click="$root.$emit('openCreateModal')"
      />
    </div>
  </div>
</template>

<script>
export default {
  name: 'pageAccountMapNav',
  props: {
    type: {
      type: String,
      required: false
    }
  }
}
</script>
